﻿using System;
using System.Web.UI;

namespace AspDotnetPractice.CustomServerControl
{
    public partial class IndexButtonTest : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Label1.Text = (IndexButton1.Index++).ToString();
            Label2.Text = (IndexButton1.IndexInViewState++).ToString();
        }
    }
}